package com.wnxy.admin.service;

import com.github.pagehelper.PageInfo;
import com.wnxy.admin.dto.CarDto;
import com.wnxy.admin.entity.Car;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 车辆表 服务类
 * </p>
 *
 * @author All
 * @since 2023-11-29
 */
public interface ICarService extends IService<Car> {
    List<Car> getCarByCustomerId(Integer customerId);
    PageInfo<CarDto> getAll(Integer pageNum, Integer pageSize,String keyword);
    PageInfo<CarDto> cGetAll(Integer pageNum, Integer pageSize,String keyword,Integer id);
    Integer getCountById(Integer customerId);
}
